package com.swordget.service;


import com.swordget.entity.Sys_DataSource;
import com.swordget.entity.vo.SimplePageRequestVo;
import com.swordget.entity.vo.SimplePageResponseVo;

import java.sql.Connection;
import java.util.List;

public interface Sys_DataSourceService {


    SimplePageResponseVo findAll(SimplePageRequestVo pageVo);



    List<Sys_DataSource> findAll();

    boolean addSys_dataSource(Sys_DataSource sys_DataSource);

    boolean editSys_dataSource(Sys_DataSource sys_DataSource);

    String testSys_dataSource(Sys_DataSource sys_DataSource);

    Connection createConnection(String id);

}
